package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户道具奖励表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sc_mall_user_props_rewards")
public class MallUserPropsRewards extends SuperEntity implements Serializable {

    /**
     * daoId
     */
    @TableField(value = "dao_id")
    private Long daoId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 道具id
     */
    @TableField(value = "props_id")
    private Long propsId;

    /**
     * 待计入数
     */
    @TableField(value = "pending_num")
    private Integer pendingNum;
    /**
     * 已计入数
     */
    @TableField(value = "credited_num")
    private Integer creditedNum;

    /**
     * 已释放数
     */
    @TableField(value = "released_num")
    private Integer releasedNum;


    /**
     * 待计入消费金额
     */
    @TableField(value = "pending_consumption_amount")
    private BigDecimal pendingConsumptionAmount;

    /**
     * 已计入消费金额
     */
    @TableField(value = "credited_consumption_amount")
    private BigDecimal creditedConsumptionAmount;


}